package cn.iocoder.yudao.module.dt.convert.activitywrite;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.dt.controller.admin.activitywrite.vo.*;
import cn.iocoder.yudao.module.dt.dal.dataobject.activitywrite.ActivityWriteDO;

/**
 * 活动核销记录 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ActivityWriteConvert {

    ActivityWriteConvert INSTANCE = Mappers.getMapper(ActivityWriteConvert.class);

    ActivityWriteDO convert(ActivityWriteCreateReqVO bean);

    ActivityWriteDO convert(ActivityWriteUpdateReqVO bean);

    ActivityWriteRespVO convert(ActivityWriteDO bean);

    List<ActivityWriteRespVO> convertList(List<ActivityWriteDO> list);

    PageResult<ActivityWriteRespVO> convertPage(PageResult<ActivityWriteDO> page);

    List<ActivityWriteExcelVO> convertList02(List<ActivityWriteDO> list);

}
